<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>随机点名</title>
    <style>
        body{
            text-align: center;
        }
        span{
            display: inline-block;
            font-size: 18px;
            width: 90px;
        }
        .submit{
            font-size: 20px;
        }
        .call{
            color: hotpink;
        }
    </style>
</head>
<body>
  <a href="/web/randomCall"> <h1>~移动1901~</h1> </a>

    <c:forEach items="${yd_list}" var="user" varStatus="i">
        <c:if test="${i.count!=0 && i.count%5==0}">
            <br>
            <br>
        </c:if>
        <span> ${user} </span>
    </c:forEach>

  <br>
  <br>
  <form action="/web/randomCall2" method="post">
      <input type="submit" value="点名" class="submit">
  </form>


        <h1 class="call">${name}</h1>




</body>
</html>